Transcranial alternating current stimulator